package com.dk.mapper;

import com.dk.pojo.playerData.PlayerData;
import com.dk.pojo.playerData.PlayerDataExample;
import com.dk.pojo.playerData.PlayerDataVO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PlayerDataMapper {
    int countByExample(PlayerDataExample example);

    int deleteByExample(PlayerDataExample example);

    int deleteByPrimaryKey(Integer playerId);

    int insert(PlayerData record);

    int insertSelective(PlayerData record);

    List<PlayerData> selectByExample(PlayerDataExample example);

    PlayerData selectByPrimaryKey(Integer playerId);

    int updateByExampleSelective(@Param("record") PlayerData record, @Param("example") PlayerDataExample example);

    int updateByExample(@Param("record") PlayerData record, @Param("example") PlayerDataExample example);

    int updateByPrimaryKeySelective(PlayerData record);

    int updateByPrimaryKey(PlayerData record);

    PlayerData seleteByAccount(Integer playerAccount);

    PlayerData selectById(Integer playerId);

    PlayerDataVO seleteByAccountPlayer(Integer playerAccount);

    List<PlayerDataVO> select();
}